import { IP1040, IP1041, IP1042, IP1043, IP1044, IP1045 } from '../map'
import { RoutesDataItem } from '../router-types'

const routes: RoutesDataItem = {
  aliasName: IP1040,
  path: '/home',
  title: '首页',
  children: [
    {
      name: IP1041,
      path: '/1',
      title: '首页1',
      component: () => import('@/views/home/index.vue'),
    },
    {
      name: IP1042,
      path: '/2',
      title: '首页2',
      component: () => import('@/views/home2/index.vue'),
    },
    {
      name: IP1043,
      path: '/3',
      title: '首页3',
      component: () => import('@/views/home3/index.vue'),
    },
    {
      name: IP1044,
      path: '/4',
      title: '首页4',
      component: () => import('@/views/home4/index.vue'),
    },
    {
      name: IP1045,
      path: '/5',
      title: '首页5',
      component: () => import('@/views/home5/index.vue'),
    },
  ],
}

export default routes
